package com.sichard.waterfullview.request;

import com.sichard.waterfullview.request.data.WaterfallEntity;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;

/**
 * <br>类表述：请求接口
 * <br>详细描述：
 * <br><b>Author Caoshichao </b></br>
 * <br><b>Date  2020/4/15</b></br>
 */
public interface RequestInterface {

    @GET("/api")
    Observable<WaterfallEntity> index(@Query("key") String key, @QueryMap Map<String, String> map);
}
